<?php include("includes/session.php"); ?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Zeitgeist Resources - View Users</title>
<?php include("header.php"); ?>
	<center>
	<table cellpadding="0" cellspacing="0" width="93%">
	<tr>
		<td align="left">
			<br /><br />
			<!-- Users By Country -->
			<center>
			<table cellpadding="10" cellspacing="0" width="100%" class="border">
			<tr><td class="title" align="left">
			<?php
				$result = $database->query("SELECT * FROM ".TBL_COUNTRIES." WHERE code='".$_GET['country']."'");
				$dbarray = mysql_fetch_array($result);
				$country = $dbarray['country'];
				echo "Country: ".$country;
			?></td></tr>
			<tr>
				<td align="left">
				<center><?php displayUsersByCountry($_GET['country']);  ?></center>
				</td>
			</tr>
			</table>
			</center>
		</td>
	</tr>
	</table>
	</center>
<?php include("footer.php"); ?>